package com.paradisecloudtech.vc.system.mvp.bean;

import java.util.List;

public class AddPartBean {

    /**
     * errorCode : 0
     * errorMessage : OK
     * result : {"participants":[{"conf_id":190,"participant_name":"8734","participant_displayname":"jb","participant_type":2,"participant_calltype":1,"participant_callprotocol":"sip","participant_address":"8734","participant_ismaster":1,"participant_numscreen":1,"description":"zhangsan","locationId":2,"terminalparam_temp":{"bandwidth":"1536000","qualityMain":"max720p30","qualityPresentation":"max720p5"},"online":true,"redial":false,"errroCode":1}]}
     */

    private int errorCode;
    private String errorMessage;
    private ResultBean result;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private List<ParticipantsBean> participants;

        public List<ParticipantsBean> getParticipants() {
            return participants;
        }

        public void setParticipants(List<ParticipantsBean> participants) {
            this.participants = participants;
        }

        public static class ParticipantsBean {
            /**
             * conf_id : 190
             * participant_name : 8734
             * participant_displayname : jb
             * participant_type : 2
             * participant_calltype : 1
             * participant_callprotocol : sip
             * participant_address : 8734
             * participant_ismaster : 1
             * participant_numscreen : 1
             * description : zhangsan
             * locationId : 2
             * terminalparam_temp : {"bandwidth":"1536000","qualityMain":"max720p30","qualityPresentation":"max720p5"}
             * online : true
             * redial : false
             * errroCode : 1
             */

            private int conf_id;
            private String participant_name;
            private String participant_displayname;
            private int participant_type;
            private int participant_calltype;
            private String participant_callprotocol;
            private String participant_address;
            private int participant_ismaster;
            private int participant_numscreen;
            private String description;
            private int locationId;
            private TerminalparamTempBean terminalparam_temp;
            private boolean online;
            private boolean redial;
            private int errroCode;

            public int getConf_id() {
                return conf_id;
            }

            public void setConf_id(int conf_id) {
                this.conf_id = conf_id;
            }

            public String getParticipant_name() {
                return participant_name;
            }

            public void setParticipant_name(String participant_name) {
                this.participant_name = participant_name;
            }

            public String getParticipant_displayname() {
                return participant_displayname;
            }

            public void setParticipant_displayname(String participant_displayname) {
                this.participant_displayname = participant_displayname;
            }

            public int getParticipant_type() {
                return participant_type;
            }

            public void setParticipant_type(int participant_type) {
                this.participant_type = participant_type;
            }

            public int getParticipant_calltype() {
                return participant_calltype;
            }

            public void setParticipant_calltype(int participant_calltype) {
                this.participant_calltype = participant_calltype;
            }

            public String getParticipant_callprotocol() {
                return participant_callprotocol;
            }

            public void setParticipant_callprotocol(String participant_callprotocol) {
                this.participant_callprotocol = participant_callprotocol;
            }

            public String getParticipant_address() {
                return participant_address;
            }

            public void setParticipant_address(String participant_address) {
                this.participant_address = participant_address;
            }

            public int getParticipant_ismaster() {
                return participant_ismaster;
            }

            public void setParticipant_ismaster(int participant_ismaster) {
                this.participant_ismaster = participant_ismaster;
            }

            public int getParticipant_numscreen() {
                return participant_numscreen;
            }

            public void setParticipant_numscreen(int participant_numscreen) {
                this.participant_numscreen = participant_numscreen;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getLocationId() {
                return locationId;
            }

            public void setLocationId(int locationId) {
                this.locationId = locationId;
            }

            public TerminalparamTempBean getTerminalparam_temp() {
                return terminalparam_temp;
            }

            public void setTerminalparam_temp(TerminalparamTempBean terminalparam_temp) {
                this.terminalparam_temp = terminalparam_temp;
            }

            public boolean isOnline() {
                return online;
            }

            public void setOnline(boolean online) {
                this.online = online;
            }

            public boolean isRedial() {
                return redial;
            }

            public void setRedial(boolean redial) {
                this.redial = redial;
            }

            public int getErrroCode() {
                return errroCode;
            }

            public void setErrroCode(int errroCode) {
                this.errroCode = errroCode;
            }

            public static class TerminalparamTempBean {
                /**
                 * bandwidth : 1536000
                 * qualityMain : max720p30
                 * qualityPresentation : max720p5
                 */

                private String bandwidth;
                private String qualityMain;
                private String qualityPresentation;

                public String getBandwidth() {
                    return bandwidth;
                }

                public void setBandwidth(String bandwidth) {
                    this.bandwidth = bandwidth;
                }

                public String getQualityMain() {
                    return qualityMain;
                }

                public void setQualityMain(String qualityMain) {
                    this.qualityMain = qualityMain;
                }

                public String getQualityPresentation() {
                    return qualityPresentation;
                }

                public void setQualityPresentation(String qualityPresentation) {
                    this.qualityPresentation = qualityPresentation;
                }
            }
        }
    }
}
